package com.bootdo.market.service.impl;

import com.bootdo.market.dao.ChannelProfitDao;
import com.bootdo.market.domain.ChannelProfitDO;
import com.bootdo.market.service.ChannelProfitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class ChannelProfitServiceImpl implements ChannelProfitService {
	@Autowired
	private ChannelProfitDao channelProfitDao;
	
	@Override
	public ChannelProfitDO get(Integer id){
		return channelProfitDao.get(id);
	}
	
	@Override
	public List<ChannelProfitDO> list(Map<String, Object> map){
		return channelProfitDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return channelProfitDao.count(map);
	}
	
	@Override
	public int save(ChannelProfitDO channelProfit){
		return channelProfitDao.save(channelProfit);
	}
	
	@Override
	public int update(ChannelProfitDO channelProfit){
		return channelProfitDao.update(channelProfit);
	}
	
	@Override
	public int remove(Integer id){
		return channelProfitDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return channelProfitDao.batchRemove(ids);
	}
	
}
